{% load blog_extras links_extras prefab_tags cache  i18n  %}
{% load urchin       %}
{% load compressed %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ca" lang="ca">
    <head>
        <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
        <meta content="no-cache" http-equiv="cache-control"/>
        <meta content="3600" http-equiv="expires"/>
        <meta content="2 days" name="revisit-after"/>
        <meta content="index,follow" name="robots"/>
        <meta content="trespams.com" name="publisher"/>
        <meta content="Antoni Aloy - Llicència creative commons attribution" name="copyright"/>
        <meta content="Content by: aaloy,, hosted in APSL" name="author"/>
        <meta content="global" name="distribution"/>
    	{% setting 'WEBMASTER_META' %}
		<meta content="Trespams és el blog d'Antoni Aloy. Els continguts estan sota llicència cc attribution." name="description"/>
		<meta name="description" content="{% block meta_description %}Blog d'Antoni Aloy dedicat la programació, gestió de projectes, a Python i a la vida{% endblock meta_description %}"/>
        <meta content="python,django,projectes,programacio,web,css,java,pojo,apsl,development,j2ee,linux,sistemes" name="keywords"/>
        {%  compressed_css 'trespams_css' %}
        <!--[if IE]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
        <!-- menu -->
        <link href="{{MEDIA_URL}}menu/css/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
        <link href="{{MEDIA_URL}}menu/css/theme.css" media="screen" rel="stylesheet" type="text/css" />
        {% block "extrastyle" %}
        {% endblock %}
        <link href="{{MEDIA_URL}}img/favicon.ico" type="image/x-icon" rel="icon"/>
        {% block pagetitle %}
        {% if object.headline %}
			<title>{% setting 'BLOG_NAME'%}: {{ object.headline }}</title>
			<meta name="description" content="{{object.body|striptags|truncatewords:50}}" />
        {% else %}
            <title>{% setting 'BLOG_NAME' %}</title>
        {% endif %}
        {% endblock pagetitle %}
        {% block rss %}{% endblock rss %}
        </head>
    <body>
        {% block page-container %}
        {% endblock page-container %}
        {% block common_js %}
            {% compressed_js 'trespams_js' %}
            <!--[if lt IE 7]>
            <script type="text/javascript" src="{{MEDIA_URL}}menu/js/jquery.dropdown.js"></script>
            <![endif]-->
        {% endblock common_js %}
        {% block syntaxhighlighter %}
		{% endblock syntaxhighlighter %}
        {% block extra-javascript %}
        {% endblock extra-javascript%}
		{% urchin "settings" %}
        <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
            {lang: 'ca'}
        </script>

    </body>
</html>
